import sys
import urllib2

if __name__ == '__main__':
    if len(sys.argv) < 2:
        print >>sys.stderr, 'usage: fetch.py <url>'
        sys.exit(-1)
    r = urllib2.urlopen(sys.argv[1])
    print r.read()
